Skip to content

fix: calculate progress text after spread merge with current step#597

Open
FarbrorGarbo wants to merge 1 commit intokamranahmedse:masterfrom
FarbrorGarbo:render-to-data-order
Open

fix: calculate progress text after spread merge with current step#597
FarbrorGarbo wants to merge 1 commit intokamranahmedse:masterfrom
FarbrorGarbo:render-to-data-order

Conversation

@FarbrorGarbo
Copy link
Copy Markdown

This PR fixes the order of calculating the progressText for the current step. The calculation must be done after merging the global configuration with the configuration of the current step which is what you would expect.

How to reproduce the error:
Create a step config with the popover progressText like
progressText: "{{current}} localized text {{total}} done"

When the step is shown, it renders the text just as "{{current}} localized text {{total}} done"

I made this PR as a Hacktoberfest contribution.
If you think my contribution is helpful, it would be awesome if you could add the hacktoberfest-accepted label to it.
Totally fine if not — just wanted to ask. Thanks for a great project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant